package com.progress.hero.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import lombok.extern.log4j.Log4j;
@RestController
//@Log4j
public class UserController {
	private final static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(UserController.class);

	  @RequestMapping("/first")  
	    public Object first() {
		  String aString = "1";
		  String b = "2";
		  logger.info("first {} -- {}",aString,b);
		  //log.info("23423423");
	        return "first controller"; 
	  }
}
